package com.zhiche.lisa.lspm.service.driver.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.zhiche.lisa.core.supports.BaseException;
import com.zhiche.lisa.lspm.dao.mapper.driver.DriverCheckinLineMapper;
import com.zhiche.lisa.lspm.dao.model.driver.DriverCheckin;
import com.zhiche.lisa.lspm.dao.model.driver.DriverCheckinLine;
import com.zhiche.lisa.lspm.service.driver.IDriverCheckinLineService;
import com.zhiche.lisa.lspm.service.utils.MdmUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Objects;

/**
 * <p>
 * 司机报班明细 服务实现类
 * </p>
 *
 * @author zhaoguixin
 * @since 2018-07-17
 */
@Service
public class DriverCheckinLineServiceImpl extends ServiceImpl<DriverCheckinLineMapper, DriverCheckinLine> implements IDriverCheckinLineService {

    @Autowired
    private MdmUtil mdmUtil;

    @Override
    public boolean insertLineByHeader(DriverCheckin driverCheckin) {
        if(Objects.isNull(driverCheckin)) throw new BaseException("报班信息为空");

        return false;
    }
}
